/*主题颜色*/
@talent-theme-color: #3CAFFF;
@talent-font-size: 0.4rem;

/*背景颜色*/
@talent-theme-bg-color: #F5F5F5;
@talent-bg-color: #FFFFFF;

/*按钮颜色*/
@talent-button-color: #3CAFFF;
/*按钮高度*/
@talent-button-height: 9.04rem;
@talent-button-mini-height: 1.28rem;
/*按钮字体大小*/
@talent-button-max-font-size: 0.453rem;
@talent-button-mini-font-size: 0.427rem;

/*字体加粗*/
@talent-font-weight: 500;

/*边框*/
@talent-border-bottom: 0.027rem solid #F5F5F5;

/*图片路径*/
@images: "../../images";

/*文本溢出*/
.ellipsis(@w:auto) {
  width: @w;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
}

/*圆角*/
.border-radius(@radius) {
  -webkit-border-radius: @radius;
  -moz-border-radius: @radius;
  -ms-border-radius: @radius;
  -o-border-radius: @radius;
  border-radius: @radius;
}

/*字号和颜色*/
.size-color(@size,@color) {
  font-size: @size;
  color: @color;
}

.size-color-weight(@size,@color,@weight) {
  font-size: @size;
  color: @color;
  font-weight: @weight;
}

/*背景图*/
.bg-image(@url) {
  background-image: url(@url);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/*宽高*/
.wh(@width, @height) {
  width: @width;
  height: @height;
}

.who(@width, @height,@hidden) {
  width: @width;
  height: @height;
  overflow: @hidden;
}

/*居中*/
.fj(@justify:center,@align:center) {
  display: flex;
  align-items: @justify;
  justify-content: @align;
}

/*绝对定位居中*/
.fixed-center(@position:fixed,@index:99,@opacity:0.5) {
  position: @position;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: @index;
  display: flex;
  align-content: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, @opacity);
}

.fixed-auto(@position:fixed) {
  position: @position;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

